<template>
    <div class="loading" :class='{hide:listLoading==false}'>
      <img src="../../static/images/loading.gif" alt="">
    </div>
</template>
<style scoped>
  .loading{position: absolute;z-index: 1000;left: 15px;top: 0;right: 15px;bottom: 0;background: rgba(0,0,0,0.6);}
  .loading img{width: 6%;position: absolute;left: 50%;top: 50%;margin-top: -3%;margin-left: -3%;}
</style>
<script>
    import optVue from '../config/optVue.js';
    export default {

      props:['listLoading']
    }
</script>
